/**
 * <p>
 *
 * @Author：Roy
 * @Description：碳减因子
 * @Date：Create by 2023-11-23 16:28:52
 */
import request from '@/utils/request'

const emissionReductionFactor = {
  // 分页查询碳减因子
  queryList(data) {
    return request({
      url: '/energy-carbon/ecp-admin/emissionReductionFactor/queryPage',
      method: 'post',
      data
    })
  },
  // 新增碳减因子
  add(data) {
    return request({
      url: '/energy-carbon/ecp-admin/emissionReductionFactor/add',
      method: 'post',
      data
    })
  },
  // 编辑碳减因子
  update(data) {
    return request({
      url: '/energy-carbon/ecp-admin/emissionReductionFactor/update',
      method: 'post',
      data
    })
  },
  // 删除碳减因子
  deleteById(data) {
    return request({
      url: '/energy-carbon/ecp-admin/emissionReductionFactor/deleteById',
      method: 'post',
      data
    })
  },
  // 启用禁用
  enableOrDisable(data) {
    return request({
      url: '/energy-carbon/ecp-admin/emissionReductionFactor/enableOrDisable',
      method: 'post',
      data
    })
  },
  // 批量删除碳减因子
  batchDelete(data) {
    return request({
      url: '/energy-carbon/ecp-admin/emissionReductionFactor/batchDelete',
      method: 'post',
      data
    })
  }
}

export default emissionReductionFactor
